package com.ruoyi;


import com.ruoyi.es.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 朱鑫杰
 */
@EnableCustomSwagger2
@SpringBootApplication
@EnableDiscoveryClient
@EnableScheduling
public class EsVideoApplication {
    public static void main(String[] args) {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
        SpringApplication.run(EsVideoApplication.class,args);
    }
}
